<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>APP内测分发 - 免费应用内测托管平台|APP应用分发|IOS分发|Android分发</title>
    <meta name="keywords" content="APP内测分发,悟空APP内测分发平台,悟空APP内测分发托管平台,内测分发,免费托管,app分发,免费安装,beta测试,ipa,apk,安卓,苹果应用,二维码下载,UDID,iOS内测,Android内测,beta test,app,悟空APP内测分发平台">
    <meta name="description" content="APP内测分发平台 - 免费为您提供APP应用内测、应用托管、内测分发、兼容测试等服务,为客户提供悟空APP内测分发托管平台和免费的应用下载分发渠道!">    
    <link rel="stylesheet" type="text/css" href="/Application/Home/View//Public/static/css/component.css">
    <link rel="stylesheet" type="text/css" href="/Application/Home/View//Public/static/css/new-layout.css">
    <link rel="stylesheet" type="text/css" href="/Application/Home/View//Public/static/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="/Application/Home/View//Public/static/font-awesome/css/font-awesome.min.css">
    <link rel="stylesheet" type="text/css" href="/Application/Home/View//Public/static/css/new-index.css">

    <script type="text/javascript">

        var allowsize = <?php echo ($result["allowsize"]); ?>;

        var uploadedsize = <?php echo ($result["uploadedsize"]); ?>;

        var singlesize = <?php echo ($result["singlesize"]); ?>;

        var uptoken = '<?php echo ($result["uptoken"]); ?>';

        var qndomain = '<?php echo ($result["domain"]); ?>';

        var uptype = <?php echo ($result["uptype"]); ?>;

        var tianshu = <?php echo ($result["tianshu"]); ?>;

        var flash_swf_url = "static/images/Moxie.swf";

        var silverlight_xap_url = "static/images/Moxie.xap";

        var gettoken = "<?php echo U('index/gettoken');?>";

        var bdupload = "<?php echo U('index/uploadbd');?>";

        var upload = "<?php echo U('index/upload');?>";

    </script>

    <script type="text/javascript" src="/Application/Home/View//Public/static/js/jquery-1.11.1.min.js"></script>
    <script type="text/javascript" src="/Application/Home/View//Public/static/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="/Application/Home/View//Public/static/js/jszip.min.js"></script>
    <script type="text/javascript" src="/Application/Home/View//Public/static/js/base64.min.js"></script>
    <script type="text/javascript" src="/Application/Home/View//Public/static/js/common.js"></script>

</head>
<body>
<!-- 手机端未登录 start -->
<div class="hamburger">
<div class="hamburger-bg"></div>
    <div class="mobile-sidebar">
         <!-- 未登录样式 -->
        <?php if($_SESSION['homeId']== '' ): ?><div class="mobile-member">
               <a href="javascript:;" class="bor1 i-login">登录</a>
               <a href="javascript:;" class="register-btn">注册</a>
         </div>
            <?php else: ?>
         <!-- 登录后样式 start -->
          <div class="mobile-user">
                <div class="mobile-name">
                   <a href="">
                   <img src="/Application/Home/View//Public/static/images/user-pic_03.png" alt="">
                   <h3><?php echo session('homename');?></h3>
                   </a>
                 </div>
                 <a href="">退出</a>
                 <div class="clear"></div>
            </div><?php endif; ?>
        <!-- 登录后样式 end -->
            <ul>
                <li><a href="<?php echo U('Index/index');?>" <?php echo ($result["classon"]); ?>><i class="fa fa-paper-plane-o"></i>发布</a></li>
                <li><a href="<?php echo U('Index/listinfo');?>"><i class="fa fa-folder-o"></i>应用管理</a></li>
                <li><a href="<?php echo U('Member/combo');?>"><i class="fa fa-money"></i>套餐</a></li>
                <li><a href=""><i class="fa fa-share-alt"></i>APP封装</a></li>
                <li><a href=""><i class="fa fa-apple"></i>苹果证书签名</a></li>
                <li><a href=""></i>苹果上架加速</a></li>       
                <li><a  href="http://wpa.qq.com/msgrd?v=3&uin=2528691974&site=qq&menu=yes"><i class="fa fa-file-text-o"></i>我的客服</a></li>
            </ul>

    </div>
</div>
<!-- 手机端未登录 end -->
<!-- 头部导航 -->
<div class="header container-fluid">
    <a href="<?php echo U('Index/index');?>" ><img src="/Application/Home/View//Public/static/images/logo_nav.png" alt="" class="logo"></a>
    <ul class="nav">
        <li  class="active"><a href="<?php echo U('Index/index');?>">发布</a></li>
        <li><a href="<?php echo U('Index/listinfo');?>">应用管理</a></li>
        <li><a href="<?php echo U('Member/combo');?>">套餐</a></li>
        <li class="serve-trigger"><a href="javascript:;">服务<i class="fa fa-angle-down"></i></a>
             <div class="nav-down">
                 <ul>
                     <li><a href="">APP封装</a></li>
                     <li><a href="">苹果证书签名</a></li>
                     <li><a href="">苹果上架加速</a></li>
                     <li><a href="">我的客服</a></li>
                 </ul>
             </div>
        </li>
    </ul>
    <a href="javascript:;" class="hamburger-btn"><img src="/Application/Home/View//Public/static/images/index-hbtn_01.png" alt=""></a>
    <?php if($_SESSION['homeId']== '' ): ?><div class="member">
            <a href="javascript:;" class="on mr18 i-login">登录</a>
            <a href="javascript:;" class="register-btn">注册</a>
        </div>
        <?php else: ?>
        <div class="user">
            <div class="user-left">
                <span></span>
                <p>剩余下载点数<br><?php echo ($result["downnum"]); ?>
                    <a href="../../../../Member/combo.html">获取</a></p>
            </div>
            <div class="user-right">
                <img src="/Application/Home/View//Public/static/images/user-pic_03.png" alt="">
                <a href="javascript:;" class="user-name">
                    <h4 class="text-ov"><?php echo session('homename');?></h4>
                    <span></span>
                </a>
                <div class="user-down">
                    <div class="balance">
                        <img src="/Application/Home/View//Public/static/images/user-pic_03.png" alt="" style="width:53px;">
                        <div class="balance-right">
                            <h3 class="ov"><?php echo session('homename');?> <?php if($result["isvip"] == '0'): ?><span class="member-vip" style="font-size:12px;">VIP</span><?php endif; ?> </h3>
                            <p>余额 <?php echo ($result["mymoney"]); ?></p>
                        </div>
                        <div class="clear"></div>
                    </div>
                    <div class="menu">
                        <a href="<?php echo U('member/index');?>"><i class="fa fa-cog"></i>账户设置</a><span></span>
                        <a href="<?php echo U('member/balance');?>"><i class="fa fa-credit-card"></i>我的账户</a>
                        <a href="<?php echo U('member/ccset');?>"><i class="fa fa-database"></i>存储设置</a><span></span>
                        <a href="<?php echo U('member/ticket');?>"><i class="fa fa-file-text-o"></i>我的工单</a>
                        <div class="clear"></div>
                    </div>
                    <a href="<?php echo U('login/logout');?>" class="quit"><i class="fa fa-sign-out"></i>退出</a>
                </div>
            </div>
        </div><?php endif; ?>
    <div class="clear"></div>
</div>

<link rel="stylesheet" href="/Application/Home/View//Public/static/css/add.css">
<link rel="stylesheet" href="/Application/Home/View//Public/static/css/cropper.min.css">
<link rel="stylesheet" href="/Application/Home/View//Public/static/css/sitelogo.css">
<style type="text/css">
    .avatar-btns button{height: 35px;}
    @media (max-width:380px) {
        .text-right{padding: 0;}
        .app-set-abs{padding: 0;}
        .app-btns{width:100%;}
        .app-btns a{width:100%;}
    }
</style>
<div class="hint-copy">
    <p><i class="fa fa-warning"></i>已成功复制链接,请直接粘贴.</p>
</div>
<div class="container" style="padding-bottom:40px;">
    <ul class="breadcrumb">
        <li><a href="<?php echo U('Index/index');?>">首页</a></li>
        <li><a href="<?php echo U('Index/index');?>">上传应用</a></li>
        <li class="active">应用设置</li>
    </ul>
    <form class="reg-page sky-form" enctype="multipart/form-data" id="form" method="POST" action="<?php echo U('index/updateinfo');?>">
    <div class="app-set row" style="position:relative;">
        <!--<div class="app-left col-sm-6 col-lg-2">-->
            <!--<div class="app-left-icon text-right">-->
                <!--<?php if($info["zxlogo"] != '' ): ?>-->
                    <!--<img src="/Public/icon/<?php echo ($info["zxlogo"]); ?>" alt="" class="app-icon"/>-->
                    <!--<?php else: ?>-->
                    <!--<img src="../../../Public/icon/dafuapk.png" alt="" class="app-icon"  />-->
                <!--<?php endif; ?>-->
                <!--&lt;!&ndash;<img src="/Application/Home/View//Public/static/images/big-appicon_03.png" alt="" class="app-icon">&ndash;&gt;-->
                <!--<button type="button" class="btn btn-primary btn-sm"  data-toggle="modal" data-target="#avatar-modal">修改头像</button>-->
                <!--<div class="clear"></div>-->
            <!--</div>-->
        <!--</div>-->
        <!--<div class="douchebag_safari" style="left: -9999px; position: fixed; width: 1px;">-->
        <!--</div>-->
        <div class="app-left col-sm-6 col-lg-2">
        <div class="reg-header">
            <p>
                <?php if($info["zxlogo"] != '' ): ?><img src="/Public/icon/<?php echo ($info["zxlogo"]); ?>" class="img-rounded" width="100" height="100" />
                    <?php else: ?>
                    <img src="../../../Public/icon/dafuapk.png" class="img-rounded" width="100" height="100" /><?php endif; ?>
            </p>
            <p style="text-align: center;margin-top: 10px;"><a onclick="fileSelect();" style="cursor:default;background: #268df7;color: #fff;padding: 5px 10px;">更改图标</a></p>
            <p id="imgppp" style="display:none;text-align:center;"><input type="file" name="fileToUpload" id="fileToUpload" onchange="fileSelected();"></p>
        </div>
    </div>
        <div class="col-xs-12 col-lg-6">
            <div class="adjust-box">
                <div class="app-tag">
                    <span id="generalize-url">zjchcf.com/a/<?php echo ($info["shorturl"]); ?></span>
                    <i id="copyBT" class="fa fa-copy"></i>
                    <span>Android</span>
                    <span>PackageName<b>com.huoyun.app</b></span>
                </div>
                <div class="app-nav">
                    <ul>
                        <li class="on"><a href="javascript:;"><i class="fa fa-file"></i>基本信息</a></li>
                        <li><a href="<?php echo U('Index/myhebing',array('id'=>$info['id']));?>"><i class="fa fa-cubes"></i>应用合并</a></li>
                        <li><a href="<?php echo U('Index/appinfo',array('id'=>$info['id']));?>"><i class="fa fa-bar-chart"></i>高级统计</a></li>
                        <li><a href="<?php echo U('UrlAnalysis/index');?>"><i class="fa fa-paper-plane"></i>应用推广</a></li>
                    </ul>
                </div>
            </div>
        </div>
        <div class="col-xs-6 col-lg-4 app-set-abs">
            <div class="app-btns">
                <a href="<?php echo U('Index/index');?>" class="on" style="margin-bottom:10px;"><i class="fa fa-cloud-upload"></i>上传新版本</a>
                <a href="/a/<?php echo ($info["shorturl"]); ?>" target="_blank" ><i class="fa fa-eye"></i>预览</a>
            </div>
        </div>
    </div>
        <!--<div class="modal fade" id="avatar-modal" aria-hidden="true" aria-labelledby="avatar-modal-label" role="dialog" tabindex="-1">-->
            <!--<div class="modal-dialog modal-lg">-->
                <!--<div class="modal-content">-->
                    <!--<form class="avatar-form">-->
                        <!--<div class="modal-header">-->
                            <!--<button class="close" data-dismiss="modal" type="button">&times;</button>-->
                            <!--<h4 class="modal-title" id="avatar-modal-label">上传图片</h4>-->
                        <!--</div>-->
                        <!--<div class="modal-body">-->
                            <!--<div class="avatar-body">-->
                                <!--<div class="avatar-upload">-->
                                    <!--<input class="avatar-src" name="avatar_src" type="hidden">-->
                                    <!--<input class="avatar-data" name="avatar_data" type="hidden">-->
                                    <!--<label for="avatarInput" style="line-height: 35px;">图片上传</label>-->
                                    <!--<button class="btn btn-danger"  type="button" style="height: 35px;" onclick="$('input[id=avatarInput]').click();">请选择图片</button>-->
                                    <!--<span id="avatar-name"></span>-->
                                    <!--<input class="avatar-input hide" id="avatarInput" name="avatar_file" type="file"></div>-->
                                <!--<div class="row">-->
                                    <!--<div class="col-md-9">-->
                                        <!--<div class="avatar-wrapper"></div>-->
                                    <!--</div>-->
                                    <!--<div class="col-md-3">-->
                                        <!--<div class="avatar-preview preview-lg" id="imageHead"></div>-->
                                    <!--</div>-->
                                <!--</div>-->
                                <!--<div class="row avatar-btns">-->
                                    <!--<div class="col-md-4">-->
                                        <!--<div class="btn-group">-->
                                            <!--<button class="btn btn-danger fa fa-undo" data-method="rotate" data-option="-90" type="button" title="Rotate -90 degrees"> 向左旋转</button>-->
                                        <!--</div>-->
                                        <!--<div class="btn-group">-->
                                            <!--<button class="btn  btn-danger fa fa-repeat" data-method="rotate" data-option="90" type="button" title="Rotate 90 degrees"> 向右旋转</button>-->
                                        <!--</div>-->
                                    <!--</div>-->
                                    <!--<div class="col-md-5" style="text-align: right;">-->
                                        <!--<button class="btn btn-danger fa fa-arrows" data-method="setDragMode" data-option="move" type="button" title="移动">-->
                                                <!--<span class="docs-tooltip" data-toggle="tooltip" title="" data-original-title="$().cropper(&quot;setDragMode&quot;, &quot;move&quot;)">-->
                                                <!--</span>-->
                                        <!--</button>-->
                                        <!--<button type="button" class="btn btn-danger fa fa-search-plus" data-method="zoom" data-option="0.1" title="放大图片">-->
                                                <!--<span class="docs-tooltip" data-toggle="tooltip" title="" data-original-title="$().cropper(&quot;zoom&quot;, 0.1)">-->
                                                <!--</span>-->
                                        <!--</button>-->
                                        <!--<button type="button" class="btn btn-danger fa fa-search-minus" data-method="zoom" data-option="-0.1" title="缩小图片">-->
                                                <!--<span class="docs-tooltip" data-toggle="tooltip" title="" data-original-title="$().cropper(&quot;zoom&quot;, -0.1)">-->
                                                <!--</span>-->
                                        <!--</button>-->
                                        <!--<button type="button" class="btn btn-danger fa fa-refresh" data-method="reset" title="重置图片">-->
                                            <!--<span class="docs-tooltip" data-toggle="tooltip" title="" data-original-title="$().cropper(&quot;reset&quot;)" aria-describedby="tooltip866214"></span>-->
                                        <!--</button>-->
                                    <!--</div>-->
                                    <!--<div class="col-md-3">-->
                                        <!--<button class="btn btn-danger btn-block avatar-save fa fa-save" type="button" data-dismiss="modal" name="fileToUpload" id="fileToUpload" onchange="fileSelected();"> 保存修改</button>-->
                                    <!--</div>-->
                                <!--</div>-->
                            <!--</div>-->
                        <!--</div>-->
                    <!--</form>-->
                <!--</div>-->
            <!--</div>-->
        <!--</div>-->
    <!--</div>-->
    <div class="row">
        <!--<form method="post" id="form" action="<?php echo U('index/updateinfo');?>">-->


        <div class="small-padding">
            <!--<div class="douchebag_safari" style="left: -9999px; position: fixed; width: 1px;">-->
            <!--</div>-->
            <!--<div class="reg-header">-->
                <!--<p>-->
                    <!--<?php if($info["zxlogo"] != '' ): ?>-->
                        <!--<img src="/Public/icon/<?php echo ($info["zxlogo"]); ?>" class="img-rounded" width="125" height="125" />-->
                        <!--<?php else: ?>-->
                        <!--<img src="../../../Public/icon/dafuapk.png" class="img-rounded" width="125" height="125" />-->
                    <!--<?php endif; ?>-->
                <!--</p>-->
                <!--<p><a onclick="fileSelect();" style="cursor:default">更改图标</a></p>-->
                <!--<p id="imgppp" style="display:none;text-align:center;"><input type="file" name="fileToUpload" id="fileToUpload" onchange="fileSelected();"></p>-->
            <!--</div>-->
            <section class="change" style="padding:50px 0;">
                <div class="loading" aria-label="Loading" role="img" tabindex="-1"></div>
                <section class="row">
                    <label class="col-xs-3 col-lg-3 text-right">APP名称</label>
                    <label class="col-xs-9 col-lg-7"><input type="text" placeholder="名称" name="nickname" value="<?php echo ($info["nickname"]); ?>"></label>
                </section>
                <div class="row"><label class="col-xs-3 col-lg-3 text-right"></label><label class="col-lg-3 hidden-sm hidden-xs" style="font-weight:100;">支持修改APP名字</label></div>
                <section class="row">
                    <label class="col-xs-3 col-lg-3 text-right">推广链接</label>

                    <label class="col-xs-9 col-lg-7 skb-rel">
                        <?php if($result["isvip"] == 1): ?><input type="text"   name="shorturl"  readonly value="<?php echo ($info["shorturl"]); ?>" placeholder="短连接">
                            <?php else: ?>
                            <input type="text"   name="shorturl"   value="<?php echo ($info["shorturl"]); ?>" placeholder="短连接"><?php endif; ?>



                        <span class="skb">zjchcf.com</span>
                    </label>
                </section>
                <section class="row">
                    <label class="col-xs-3 col-lg-3 text-right">付费安装</label>
                    <label class="col-xs-9 col-lg-7">
                        <select class="pay-per-install" name="needmoney">
                            <option value="1" <?php if($info["needmoney"] == 1 ): ?>selected<?php endif; ?>>￥0(免费,下载次数用尽后自动付费￥1安装)</option>
                            <option value="0" <?php if($info["needmoney"] == 0 ): ?>selected<?php endif; ?>>￥0(免费,下载次数用尽后不能下载安装)</option>

                        </select>
                    </label>
                </section>
                <section class="row">
                    <label class="col-xs-3 col-lg-3 text-right">下载密码</label>
                    <label class="col-xs-9 col-lg-7"><input type="text" name="aqpassword" value="<?php echo ($info["aqpassword"]); ?>" placeholder="下载密码"></label>
                    <!-- <label class="col-lg-3 hidden-sm hidden-xs">设备密码后,用户安装应用要求输入密码</label> -->
                </section>
                <div class="row"><label class="col-xs-3 col-lg-3 text-right"></label><label class="col-lg-3 hidden-sm hidden-xs" style="font-weight:100">设备密码后,用户安装应用要求输入密码</label></div>
                <section class="row">
                    <label class="col-xs-3 col-lg-3 text-right">应用信息</label>
                    <label class="col-xs-9 col-lg-7"><textarea cols="20" rows="5" name="beifen" ><?php echo ($info["beifen"]); ?></textarea></label>
                </section>
                <script>
                    var static = "/Application/Home/View//Public/static";
                </script>
                <section class="img-box row">
                    <p class="up-p col-xs-3 col-lg-3 text-right">上传图片</p>
                    <label class="col-xs-9 col-lg-7">
                        <div class="z_photo upimg-div ">
                            <section class="z_file fl">
                                <img src="/Application/Home/View//Public/static/images/a11.png" class="add-img">
                                <input type="file" name="file" id="file" class="file" value="" accept="image/jpg,image/jpeg,image/png,image/bmp" multiple />
                            </section>
                            <div class="clear"></div>
                        </div>
                    </label>
                </section>
                <aside class="mask works-mask">
                    <div class="mask-content">
                        <p class="del-p">您确定要删除作品图片吗？</p>
                        <p class="check-p"><span class="del-com wsdel-ok">确定</span><span class="wsdel-no">取消</span></p>
                    </div>
                </aside>
                <section class="row">
                    <label class="col-xs-3 col-lg-3 text-right">下载模板</label>
                    <label class="col-xs-9 col-lg-7">
                        <div class="includes">
                            <div class="mobanspan">
                                <a href="javascript:;" class="radio-bg on" value="0">
                                    <img src="/Application/Home/View//Public/static/images/moban_1.png" width="100px"><br>
                                    <p>模板一</p>
                                    <span class="radio-bg-span"><span class="fa-stack fa-lg"><i class="fa fa-circle fa-stack-2x"></i><i class="fa fa-check fa-stack-1x fa-inverse"></i></span></span>
                                </a>
                            </div>
                            <div class="mobanspan">
                                <a href="javascript:;" class="radio-bg" value="1">
                                    <img src="/Application/Home/View//Public/static/images/moban_1.png"  width="100px"><br>
                                    <p>模板二</p>
                                    <span class="radio-bg-span"><span class="fa-stack fa-lg"><i class="fa fa-circle fa-stack-2x"></i><i class="fa fa-check fa-stack-1x fa-inverse"></i></span></span>
                                </a>
                            </div>
                            <div class="mobanspan">
                                <a href="javascript:;" class="radio-bg" value="3">
                                     <img src="/Application/Home/View//Public/static/images/moban_3.png"  width="100px"><br>
                                       <p>模板三</p>
                                       <span class="radio-bg-span"><span class="fa-stack fa-lg"><i class="fa fa-circle fa-stack-2x"></i><i class="fa fa-check fa-stack-1x fa-inverse"></i></span></span>
                                </a>
                            </div>
                        </div>
                    </label>
                </section>
                <section class="row">
                    <label class="col-xs-3 col-lg-3 text-right"><!--占位--></label>
                    <label class="col-xs-7 col-lg-7">
                        <input type="hidden" name="id" value="<?php echo ($info["id"]); ?>"/>
                        <input type="hidden" id="mobanid" name="mobanid" value="<?php echo ($info["mobanid"]); ?>"/>
                        <button type="submit" class="renewal-btn" id="submitButton">更新</button>
                    </label>
                </section>
            </section>

        </div>

    </div>
    </form>
</div>
<script>
    function copyArticle(event) {
        const range = document.createRange();
        range.selectNode(document.getElementById('generalize-url'));
        const selection = window.getSelection();
        if(selection.rangeCount > 0) selection.removeAllRanges();
        selection.addRange(range);
        document.execCommand('copy');
    }
    document.getElementById('copyBT').addEventListener('click', copyArticle, false);
</script>
<!-- 底部版权 -->
<style type="text/css">
.footer p {
	color: #000;
}
</style>

<div class="footer">
    <ul class="row">
        <li class="col-lg-4">
                Copyright © 2017-2019 
        </li>
        <li class="col-lg-4">
                联系QQ:2528691974
        </li>
        <li class="col-lg-4">
                邮箱：2528691974@qq.com
        </li>
    </ul>
  <ul class="row">
        <li class="col-lg-4">
                悟空APP内测分发免费应用分发平台
        </li>

      <li class="col-lg-4">
                陕ICP备12345678号</li>
        <li class="col-lg-4">
                网址：<a href="http://www.127v.cn" class="d-wangzhi">http://www.127v.cn</a>
        </li>
    </ul>
  <p align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
  <p align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;APP内测分发内测分发托管服务为第三方应用提供应用托管、反馈收集等服务。应用内容均来源于第三方产品，仅为用户提供下载支持，不涉及任何人工编辑和整理，也不对任何来源于第三方的内容（包括但不限于安装包安全、信息描述、应用截图）承担责任，用户可根据描述场景谨慎选择下载试用。任何公司、产品或者个人认为悟空APP内测分发平台分发涉嫌侵犯您的版权或应用权，您应该及时向我们提供举报声明、书面权利通知，并提供身份证明、权属证明及侵权情况等投诉材料。我们将依法进行处理。应用下载者与应用上传者如发生纠纷，请自行与上传者协商处理，协商无果请到相关部门进行投诉，或者拨打110警方介入，本平台不承担责任。</p>
</div>
<!-- 背景蒙板 -->
<div class="mask-bg">
    <!-- 登录弹窗 -->
      <div class="login">
           <!-- 关闭按钮 -->
           <div class="index-close">
                <a href="javascript:;">
                    <img src="/Application/Home/View//Public/static/images/index-close_03.png" alt="">
                </a>
           </div>
          <form  id="form" method="POST" action="<?php echo U('login/login');?>">
           <div class="login-input">
               <h4>帐号密码登录</h4>
               <input type="text" name="username" placeholder="请输入您的邮箱／手机号" >
               <input type="password"  name="password"  placeholder="请输入密码">
               <button type="submit"  class="submit-btn">登录</button>
           </div>
          </form>
           <div class="login-right">
               <a href="http://wpa.qq.com/msgrd?v=3&uin=1250000159&site=qq&menu=yes">忘了密码？ </a>|
               <a href="javascript:;" class="register-btn">注册新帐号</a>
           </div>
      </div>
      <!-- 注册弹框 -->
      <div class="register">
            <!-- 关闭按钮 -->
            <div class="index-close">
                 <a href="javascript:;">
                     <img src="/Application/Home/View//Public/static/images/index-close_03.png" alt="">
                 </a>
            </div>

            <div class="login-input">
                <h4><a href="javascript:;" class="add-email on">用户邮箱注册</a><a href="javascript:;" class="add-tel">用户手机注册</a></h4>
                <form method="post"   action="<?php echo U('login/reg');?>" class="cut-email">
                <div class="cut-email">
                    <input type="text" name="username" id="username" placeholder="请输入您的邮箱">
                    <div class="verify">
                       <input type="text" id="checkcode" name="checkcode" placeholder="验证码">
                       <a href="javascript:;" id="sendcode" onclick="sendcode22()"  class="gain">获取验证码</a>
                    </div> 
                     <input type="password" name="password" placeholder="密码">
                     <input type="password" name="repassword" placeholder="确认密码">
                </div>
                <button type="submit"  class="submit-btn">确认注册</button>
          </form>
          </form>
                <form method="post" action="<?php echo U('login/regphone');?>"  class="cut-tel" style="display:none;" >
                <div>
                        <input type="text" name="phone" id="phone" placeholder="请输入您的手机">
                        <div class="verify">
                           <input type="text" i name="checkcode88" placeholder="验证码">
                           <a href="javascript:;" id="sendcode88" onclick="sendcode8899()" class="gain">获取验证码</a>
                        </div> 
                         <input  type="password" name="password" placeholder="密码">
                         <input type="password" name="repassword" placeholder="确认密码">
                    </div>
                    <button type="submit"  class="submit-btn">确认注册</button>
                </form>
            </div>

            <div class="login-right">
                <a href="http://wpa.qq.com/msgrd?v=3&uin=2528691974&site=qq&menu=yes">忘了密码？ </a>|<a href="javascript:;" class="i-login">已有帐号，前去登录。</a>
            </div>
       </div>
</div>
<!-- 右侧飘窗 -->
    <div class="asid_share" id="asid_share">
                <div class="asid_share_box relative">
                    <a href="<?php echo U('member/ticket');?>"><img alt="提交工单" title="提交工单" class="adid_icon" src="/Application/Home/View//Public/static/images/icon_say.png"></a>
                </div>
                <div class="asid_share_box relative">
                    <a href="http://wpa.qq.com/msgrd?v=3&uin=2528691974&site=qq&menu=yes"><img alt="Q&nbsp;Q客&nbsp;服" title="Q&nbsp;Q客&nbsp;服" class="adid_icon" src="/Application/Home/View//Public/static/images/icon_help.png"></a>
                </div>
                <div class="asid_share_box relative">
                    <a href="#"><img alt="扫二微码" title="扫二微码" class="adid_icon" src="/Application/Home/View//Public/static/images/icon_sweep.png"></a>
                    <div class="asid_share_triangle" style="display:none;">
                        <em class="border_sj">&#9670;</em>
                        <span class="con_sj">&#9670;</span>
                </div>
                    <div class="asid_sha_layer" style="width:250px;display:none;">
                            <p>QQ客服:2528691974</p>
                        <p class="pb6"><b>充值问题联系客服</b></p>
                    </div>
                </div>
                <div class="asid_share_box" style="position:relative;">
                <div class="asid_share_box relative" style="display:none;position:absolute;top:0;left:0;">
                    <a href="#"><img alt="返回顶部" title="返回顶部" class="adid_icon" src="/Application/Home/View//Public/static/images/icon_back.png"></a>
                </div>
            </div>
</div>
</body>
</html>
<script src="/Application/Home/View//Public/static/js/jquery-2.1.1.min.js"></script>
<script src="/Application/Home/View//Public/static/js/bootstrap.min.js"></script>
<!--[if lt IE 9]>
      <script src="/Application/Home/View//Public/static/js/html5shiv.min.js"></script>
      <script src="/Application/Home/View//Public/static/js/respond.min.js"></script>
<![endif]-->
<script src="/Application/Home/View//Public/static/js/jquery-ui.min.js"></script>
<script src="/Application/Home/View//Public/static/js/new-buywindow.js"></script>
<script src="/Application/Home/View//Public/static/js/new-member.js"></script>
<SCRIPT LANGUAGE="JavaScript">
    function sendcode22(){
        $("#sendcode").attr("disabled",true);
        var username = $('#username').val();

        if(username){
            $.ajax({
                url: '/index.php/login/sendemailcode22',
                type: 'post',
                data: {username : username},
                dataType: 'json',
                beforeSend: function() {
                },
                complete: function() {
                },
                success: function(json) {
                    if(json['code']==1){
                        $("#sendcode").html("已发送,前往邮箱查看");
                        return false;
                    }else{
                        alert(json['msg']);
                        $("#sendcode").attr("disabled",false);
                        return false;
                    }
                }
            });
        }else{
            alert("请输入邮箱");
            $("#sendcode").attr("disabled",false);
            return false;
        }

    }
    var countdown=60;
    function settime() {
        if (countdown == 0) {
            $("#sendcode88").attr("disabled",false);
            $("#sendcode88").html("发送验证码");
            countdown = 60;
            return;
        } else {
            $("#sendcode88").attr("disabled",true);
            $("#sendcode88").html("重新发送(" + countdown + ")");
            countdown--;
        }
        setTimeout(function() {
                settime() }
            ,1000)
    }

    function sendcode8899(){
        $("#sendcode88").attr("disabled",true);
        var phone = $('#phone').val();

        if(phone){
            $.ajax({
                url: '/index.php/login/sendemailcode88',
                type: 'post',
                data: {phone : phone},
                dataType: 'json',
                beforeSend: function() {
                },
                complete: function() {
                },
                success: function(json) {
                    if(json['code']==1){
                        settime();
                        //$("#sendcode88").html("已发送,请注意查收");
                        return false;
                    }else{
                        alert(json['msg']);
                        $("#sendcode88").attr("disabled",false);
                        return false;
                    }
                }
            });
        }else{
            alert("请输入手机号码");
            $("#sendcode88").attr("disabled",false);
            return false;
        }

    }

</SCRIPT>

<script src="/Application/Home/View//Public/static/js/imgUp.js"></script>
<script src="/Application/Home/View//Public/static/js/cropper.js"></script>
<script src="/Application/Home/View//Public/static/js/sitelogo.js"></script>
<script src="/Application/Home/View//Public/static/js/html2canvas.min.js"></script>
<script>
//    //做个下简易的验证  大小 格式
//    $('#avatarInput').on('change', function(e) {
//        var filemaxsize = 1024 * 3;//5M
//        var target = $(e.target);
//        var Size = target[0].files[0].size / 1024;
//        console.log(Size);
//        if(Size > filemaxsize) {
//            alert('图片过大，请重新选择!');
//            $(".avatar-wrapper").childre().remove;
//            return false;
//        }
//        if(!this.files[0].type.match(/image.*/)) {
//            alert('请选择正确的图片!')
//        } else {
//            var filename = document.querySelector("#avatar-name");
//            var texts = document.querySelector("#avatarInput").value;
//            var teststr = texts; //你这里的路径写错了
//            console.log(teststr);
//            testend = teststr.match(/[^\\]+\.[^\(]+/i); //直接完整文件名的
//            filename.innerHTML = testend;
//        }
//    });
//    $(".avatar-save").on("click", function() {
//        var img_lg = document.getElementById('imageHead');
//        // 截图小的显示框内的内容
//        html2canvas(img_lg, {
//            allowTaint: true,
//            taintTest: false,
//            onrendered: function(canvas) {
//                canvas.id = "mycanvas";
//                //生成base64图片数据
//                var dataUrl = canvas.toDataURL("image/jpeg");
//                var newImg = document.createElement("img");
//                newImg.src = dataUrl;
//                imagesAjax(dataUrl)
//            }
//        });
//    })

    $(".radio-bg").each(function () {
        if ("<?php echo ($info["mobanid"]); ?>" == "0") {
           
            $(".radio-bg").removeClass("on");
            $(".radio-bg:eq(0)").addClass("on")
        }else if("<?php echo ($info["mobanid"]); ?>" == "1"){
          
            $(".radio-bg").removeClass("on");
            $(".radio-bg:eq(1)").addClass("on")
        }else if("<?php echo ($info["mobanid"]); ?>" == "3"){
            $(".radio-bg").removeClass("on");
            $(".radio-bg:eq(2)").addClass("on")
        }
    })
    $(function() {
        // 选择模版
        $(".radio-bg").click(function () {
            $(".radio-bg").removeClass("on");
            $(this).addClass("on")
            $("#mobanid").val($(this).attr("value"));
        })
        //  点击拷贝提示框
        $("#copyBT").click(function () {
            $(".hint-copy").fadeIn().delay(2000).fadeOut();
        })
    })
</script>

<script type="text/javascript">
    function fileSelect() {
        document.getElementById("fileToUpload").click();
    }
    function fileSelected() {
        $('#imgppp').show();
    }
</script>